#ifndef __MY_DEFINE_H
#define __MY_DEFINE_H


#include "HC32F002.h"
#include "hc32f002_conf.h"

#ifndef TRUE
#define TRUE        1
#endif

#ifndef FALSE
#define FALSE       0
#endif


#define OK          1
#define FAIL        0

#ifndef ON
#define ON          1
#endif

#ifndef OFF
#define OFF         0
#endif

#ifndef NULL
#define NULL        0
#endif


typedef unsigned            char        uint8;
typedef unsigned short      int         uint16;
typedef unsigned            int         uint32;

        
typedef signed              char        int8;
typedef signed short        int         int16;
typedef   signed            int         int32;
    





#endif

